<?php
/**
 * PExcemtion
 * Exception base class
 *
 * @author Patrice Ferlet <metal3d@copix.org> 
 * @package utils
 * @license http://opensource.org/licenses/lgpl-3.0.html GNU Lesser General Public License Version 3.0 (LGPLv3)
*/

class PException extends Exception{
    //put your code here

    function __construct($message, $code=false){
        parent::__construct($message, $code);
        echo $this->message;
    }
}
